package com.book.bookmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.book.bookmanager.pojo.Role;

import java.util.List;


public interface roleService extends IService<Role> {
    //查询所有
    public List<Role> queryAll();

    //添加数据
    public void add(Role role);




    void removeByRoleId(Integer id);

    void addRole(Role role);

    Role queryByRoleId(Integer roleId);

    void updateRole(Role role);
}
